projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d419e1d
)
coding.c (detect_coding_emacs_mule): Fix checking of multibyte sequence when the...
author
Kenichi Handa
<handa@m17n.org>
Tue, 7 Sep 2010 11:08:46 +0000
(20:08 +0900)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 7 Sep 2010 11:08:46 +0000
(20:08 +0900)
src/ChangeLog
patch
|
blob
|
history
src/coding.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 8a0b1b094ba03b5c617c3b5322f0c050aaf49d3b..3dda03c963f48ea9a5cfef158566cb710228da03 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2010-09-07 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (detect_coding_emacs_mule): Fix checking of multibyte
+ sequence when the source is multibyte.
+
2010-08-31 Kenichi Handa <handa@m17n.org>
* dispextern.h (FACE_FOR_CHAR): Use an ASCII face for 8-bit
diff --git
a/src/coding.c
b/src/coding.c
index aef80f5cc806db7ea24541bb94f3745da50983e3..d62998f4c8bd85056a4a693b175a145d900d4517 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-2031,7
+2031,7
@@
detect_coding_emacs_mule (coding, detect_info)
}
else
{
- int more_bytes = emacs_mule_bytes[
*src_base
] - 1;
+ int more_bytes = emacs_mule_bytes[
c
] - 1;
while (more_bytes > 0)
{